import tableConfig from '@/avuejs/table-config'
export default (self) => {
    return {
        ...tableConfig(),
        index: false,
        addBtn: false,
        editBtn: false,
        column: [
            {
                label: 'ID',
                prop: 'id',
                display: false
            },
            {
                label: '平台',
                prop: 'platform',
                display: false
            },
            {
                label: '账号',
                prop: 'account',
                display: false
            },
            {
                label: '昵称',
                prop: 'nick_name',
                search: true,
                display: false
            },
            {
                label: '头像',
                prop: 'avatar',
                type: 'upload',
                listType: 'picture-img',
                display: false
            },
            {
                label: '性别',
                prop: 'gender',
                display: false
            },
            {
                label: '国家',
                prop: 'country',
                display: false
            },
            {
                label: '省',
                prop: 'province',
                display: false
            },
            {
                label: '市',
                prop: 'city',
                display: false
            },
            {
                label: '创建时间',
                prop: 'created_at',
                display: false
            }
        ]
    }
}